package com.service;

import com.mapper.C_inforDao;
import com.util.C_infor;
import com.util.Result;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class C_inforService {
    @Resource
    private C_inforDao c_inforDao;

    public C_infor see(String p_id){
        C_infor c_infor=new C_infor();
        c_infor.setpId(p_id);
        return c_inforDao.select(c_infor);
    }
    public Result<?> changInfor(C_infor c_infor){
        c_inforDao.updateInfor(c_infor);
        Result result=new Result();
        Result r=result.success(result);
        return r;
    }
}
